.cars-item {
  background-color: #fff;
  border-radius: 24px;
  @include webkit(box-shadow, 0 0 18px 0 rgba(0, 0, 0, .2));
  width: auto;
  margin: 0 auto;
  padding: 30px 30px 0;

  header {
    @extend %clearfix;
    .cars-logo {
      float: left;
      img {
        display: inline-block;
        vertical-align: middle;
        height: 34px;
        margin-right: 10px;
      }

      .name {
        font-size: 16px;
      }
    }

    .cars-attr {
      float: right;
      line-height: 34px;
    }
  }

  .cars-content {
    @extend %clearfix;
    position: relative;
    padding-bottom: 40px;
    border-bottom: 1px solid #e1e1e1;
    .car-info {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      h3{
        margin-bottom: 10px;
        font-size: 18px;
      }
      ul {
        display: inline-block;
        @extend %clearfix;
        li {
          float: left;
          width: 7px;
          height: 24px;
          background: #e1e1e1;
          border-radius: 100px;
          margin-left: 3px;

          &:first-child {
            margin-left: 0;
          }

          &.active {
            background: linear-gradient(to bottom, #11a6fa, #0b8ad7);
          }
        }
      }

      .detail {
        display: inline-block;
        vertical-align: bottom;
        font-size: 22px;
        color: #34393f;
        font-weight: bold;
        margin-left: 11px;
        sub {
          display: inline-block;
          vertical-align: 4px;
          font-size: 12px;
          font-weight: lighter;
          opacity: .6;
        }
        b {
          margin: 0 5px;
        }
      }
    }

    .car-img {
      width: 217px;
      height: 118px;
      float: right;
      img {
        width: 100%;
        height: 100%;
      }
    }
  }
  footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 55px;
    .i-to-right{
      width: 8px;
      height: 8px;
      border-top: 2px solid rgba(52, 57, 63, 0.2);
      border-right: 2px solid rgba(52, 57, 63, 0.2);
      transform: rotate(45deg);
    }
  }
}
.cars-detail{
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0;
  .cars-detail-box{
    padding: 15px 30px 0;
    height: 800px;
    overflow-y: scroll;
    overflow-x: visible;
    &::-webkit-scrollbar {
      width: 0;
    }
  }


  .title{
    @extend %clearfix;
    height: 50px;
    line-height: 50px;
    border-bottom: 1px solid #cecece;
    margin-bottom: 10px;
    h3{
      float: left;
      font-size: 20px;
    }
    i{
      float: right;
      font-size: 30px;
      cursor: pointer;
    }
  }
  .car-img{
    padding: 0 15px;
    img{
      width: 100%;
    }
  }
  .info{
    @extend %clearfix;
    .number-plate{
      float: left;
      font-size: 24px;
    }
    .energy{
      float: right;
      span{
        display: inline-block;
        font-weight: bold;
        vertical-align: -4px;
        font-size: 20px;
        margin: 0 4px;
      }
      sub{
        display: inline-block;
      }
    }
  }
  .energy-box{
    padding: 14px 10px;
    border-radius: 50px;
    box-shadow: 0 0 6px 0 rgba(0,0,0,.3);
    margin-top: 20px;
    .schedule-box{
      background: rgba(225, 225, 225, 0.63);
      border-radius: 10px;
      .schedule{
        width: 50%;
        height: 10px;
        background-color: #11a6fa;
        border-radius: 10px;
      }
    }
  }
  .prompt{
    padding: 10px 20px;
    text-align: center;
    margin-top: 30px;
    color: #34393f;
  }
  .type-list{
    margin-top: 20px;
    .list-item{
      @extend %clearfix;
      height: 46px;
      line-height: 46px;
      color: #34393f;
      font-size: 16px;
      padding: 0 20px;
      margin-bottom: 15px;
      border: 1px solid #11a6fa;
      border-radius: 7px;
      cursor: pointer;
      .key{
        float: left;
      }
      .val{
        float: right;
      }
    }
  }
  .reservation{
    position: absolute;
    bottom: -42px;
    left: 50%;
    width: 240px;
    height: 84px;
    transform: translateX(-50%);
    border-radius: 42px;
    color: #fff;
    border: 0;
    outline: none;
    font-size: 18px;
    letter-spacing: 2px;
    background: linear-gradient(to right,#32373b,#3f444b);
  }
}
